<template>
    <div class="container">
        <div>
            <div class="title">404</div>
            <div class="title_detail">对不起，我们找不到这个页面</div>
            <div class="ttitle_content">不过不用担心，你可以点击下方的按钮回到主页</div>
            <el-button class="title_btn" type="primary" @click="gotoHome()">回到主页</el-button>
        </div>
        <div><img class="img_404" src="@/assets/image/404.gif" alt=""></div>
    </div>
</template>
<script lang="ts" setup>
import { useRouter } from 'vue-router';
const routter = useRouter()
const gotoHome = () => {
    routter.push("/")
}
</script>
<style lang="less" scoped>
@media only screen and (max-width: 768px) {
    .img_404 {
        width: 360px;
        height: auto;

    }
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.title {
    color: #666666;
    font-size: 35px;
    font-weight: bolder;
    text-align: center;
}

.title_detail {
    color: #666666;
    font-size: 18px;
    font-weight: bolder;
    text-align: center;
    margin: 10px 0;
}

.ttitle_content {
    color: #666666;
    font-size: 14px;
    font-weight: bolder;
    text-align: center;
    margin-bottom: 15px;
}

.title_btn {}
</style>